#include "deinadd.h"
#include "ui_deinadd.h"

deinAdd::deinAdd(QWidget *parent) :
    QWidget(parent),
    _ui(new Ui::deinAdd)
{
    _ui->setupUi(this);

    _market = new addmarket(this);

    connect(_ui->btn_market, SIGNAL(clicked()), this, SLOT(openMarket()));
    connect(_ui->btn_add, SIGNAL(clicked()), this, SLOT(openMarket()));

    deinAddInitUI();
}

deinAdd::~deinAdd()
{
    delete _ui;
}
void deinAdd::deinAddInitUI()
{
    this->showMaximized();

    _ui->mdiInfo->showMaximized();
}

void deinAdd::openMarket()
{
    _market->show();
}
